<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ include file="/common/taglibs.jsp"%>
<c:set var="nature_value">
    <x:out
            select="$xmlData/data/organizations/organization[@submit_org='1']/nature_value"/>
</c:set>
<input type="hidden" name="organization/whether_is_provincepark_value"
       value="<x:out select="$xmlData/data/organization/whether_is_provincepark_value" />"/>
<div class="t_bar"><span class="color_red">*</span>${param.title }</div>
<table class="t_css table01" width="100%" border="0" cellpadding="0"
       id="orgInfo" cellspacing="1">
    <col style="width: 30%"/>
    <col style="width: 20%"/>
    <col style="width: 30%"/>
    <col style="width: 20%"/>
    <tr>
        <td align="right" nowrap>单位名称：</td>
        <td >
            <span name="organizations/organization/org_name"><x:out
                    select="$xmlData/data/organizations/organization[@submit_org='1']/org_name"/></span>
        </td>
        <td align="right" nowrap>注册所在地：</td>
        <td >
            <span name="organizations/organization/area_name"><x:out
                    select="$xmlData/data/organizations/organization[@submit_org='1']/area_name"/></span>
        </td>
    </tr>

    <tr>
        <td align="right" nowrap>单位地址：</td>
        <td colspan="3">
            <span name="organizations/organization/address"><x:out
                    select="$xmlData/data/organizations/organization[@submit_org='1']/address"/></span>
        </td>
    </tr>
    <tr>
        <td align="right">单位类型：</td>
        <td>
            <c:choose>
                <c:when test="${fn:substring(nature_value,0,1) eq 'A'}">
					<span name="organizations/organization/org_type_name">
						<x:out
                                select="$xmlData/data/organizations/organization[@submit_org='1']/org_type_name"/>
					</span>
                </c:when>
                <c:otherwise>
					<span name="organizations/organization/org_type_name">
						<x:out
                                select="$xmlData/data/organizations/organization[@submit_org='1']/org_type1_name"/>
					</span>
                </c:otherwise>

            </c:choose>

        </td>
        <td align="right">组织机构代码/统一社会信用代码：</td>
        <td colspan="2">
			<span name="organizations/organization/org_no">
				<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/org_shxy_no"/>
			</span>
        </td>
    </tr>
    <tr>
        <td align="right">是否安徽省内独立法人：</td>
        <td>
            <c:set var="yn3_value"><x:out select="$xmlData/data/proposal/yn3_value"/></c:set>
            <cpt:checkbox key="yes_or_no" name="yn3" repeatColumn="2" tagType="radio"
                          value="${yn3_value}"></cpt:checkbox>
            <input type="hidden" name="proposal/yn3_value" id="yn3" class="required"
                   value="<x:out select="$xmlData/data/proposal/yn3_value" />" label="是否安徽省内独立法人"/>
            <input type="hidden" name="proposal/yn3_name"
                   value="<x:out select="$xmlData/data/proposal/yn3_name" />"/>
        </td>
        <td align="right">是否建设运行2年以上：</td>
        <td>
            <c:set var="yn4_value"><x:out select="$xmlData/data/proposal/yn4_value"/></c:set>
            <cpt:checkbox key="yes_or_no" name="yn4" repeatColumn="2" tagType="radio"
                          value="${yn4_value}" ></cpt:checkbox>
            <input type="hidden" name="proposal/yn4_value" id="yn4" class="required"
                   value="<x:out select="$xmlData/data/proposal/yn4_value" />" label="是否建设运行2年以上"/>
            <input type="hidden" name="proposal/yn4_name"
                   value="<x:out select="$xmlData/data/proposal/yn4_name" />"/>
        </td>
    </tr>
</table>
    <table id="research_direction" border="0" cellspacing="0" cellpadding="0" style="width: 100%" class="table01 t_css">
        <thead>
        <tr>
            <th align="center" width="5%">选择</th>
            <th align="center" width="5%">序号</th>
            <th align="center" width="30%">依托单位投资建设主体</th>
        </tr>
        </thead>
        <tbody id="research_direction_tab">
        <tr style="display: none" align="center">
            <td align="center">
                <input type="radio" class="radiobutton" name="selAttendOrg11">
            </td>
            <td align="center">
                <span name="research_directions|research_direction[0]@seq_no">[index]</span>
            </td>
            <td align="center">
                <input name="research_directions|research_direction[0]|direction" label="" type="text" required
                       class="input_css required maxlength:100" style="width: 80%;" maxlength="100" value=""/>
            </td>
        </tr>
        <c:set value="0" var="index" scope="page"/>
        <x:forEach select="$xmlData/data/research_directions/research_direction" var="research_direction">

            <c:choose>
                <c:when test="${index<10}">
                    <c:set value="0" var="flag" scope="page"/>
                </c:when>
                <c:otherwise>
                    <c:set value="" var="flag" scope="page"/>
                </c:otherwise>
            </c:choose>
            <tr align="center">
                <td>
                    <input type="radio" class="radiobutton" name="selAttendOrg11">
                </td>
                <td align="center">
					<span name="research_directions/research_direction[${flag}${index}]@seq_no">
						<x:out select="$research_direction/@seq_no"/>
					</span>
                </td>
                <td>
                    <input name="research_directions/research_direction[${flag}${index}]/direction" label="" type="text"
                           required class="input_css required maxlength:100" style="width: 80%;" maxlength="100"
                           value="<x:out select="$research_direction/direction" />"/>
                </td>
            </tr>
            <c:set value="${index+1}" var="index" scope="page"/>
        </x:forEach>
        </tbody>
    </table>

    <table width="98%" class="not_table">
        <tr>
            <td>
                <input class="button_02" type="button" name="cmdAddbefore" value="添加"
                       onclick="if(checkTabLimit('research_direction',10,'依托单位投资建设主体最多只能填写10条')){addNewRow('research_direction');}try{top.resizeFrame();}catch(e){};checkrownum();refreshTreeIndex('research_direction',4);"/>
                <input class="button_02" name="cmdMovePrev" type="button" value="上移"
                       onclick="movePrev('research_direction');checkrownum();refreshTreeIndex('research_direction',4);"/>
                <input class="button_02" name="cmdMoveNext" type="button" value="下移"
                       onclick="moveNext('research_direction');checkrownum();refreshTreeIndex('research_direction',4);"/>
                <input class="button_02" name="cmddel" type="button" value="删除"
                       onclick="deleteSelectedRow('research_direction','依托单位投资建设主体');checkrownum();refreshTreeIndex('research_direction',4);"/>
            </td>
        </tr>
    </table>
    <table class="t_css table01" width="100%" border="0" cellpadding="0"
           id="orgInfo1" cellspacing="1">
        <col style="width: 30%"/>
        <col style="width: 20%"/>
        <col style="width: 30%"/>
        <col style="width: 20%"/>
    <tr>
        <td align="right">所属产业领域：</td>
        <td colspan="3" align="left">
                <c:set var="industry_sector_value"><x:out select="$xmlData/data/proposal/industry_sector_value" /></c:set>
                <c:set var="industry_sector_other"><x:out select="$xmlData/data/proposal/industry_sector_other" /></c:set>
                <cpt:checkbox key="industry_sector" lastOther="true" otherValueName="${industry_sector_other }" otherId="industry_sector_other" name="industry_sector"  width="70px"  repeatColumn="4" value="${industry_sector_value }"  onClick="industry_sector" tagType="radio" ></cpt:checkbox>
                <input type="hidden" id="industry_sector_value" name="proposal/industry_sector_value" class="required" value="${industry_sector_value}" label="所属产业领域">
                <input type="hidden" name="proposal/industry_sector_name" value="<x:out select="$xmlData/data/proposal/industry_sector_name" />">

                    <input type="text" maxlength="50" id="industry_sector_other" style="width: 200px;"  name="proposal/industry_sector_other"  value="<x:out select="$xmlData/data/proposal/industry_sector_other" />" label="所属产业领域-->其他">
        </td>
    </tr>
    <tr>
        <td align="right">主要研究方向（限200字）：</td>
        <td colspan="3">
            <textarea name="project/rd_direction" class="input_textarea required maxlength:200" label="主要研究方向" rows=5
                      style="width:98%"><x:out select="$xmlData/data/project/rd_direction"/></textarea>
            <input type="hidden" name="project/rd_direction_hidden" id="project/rd_direction_hidden"
                   value="<x:out select="$xmlData/data/project/rd_direction_hidden" />"/>
        </td>
    </tr>
    <tr>
        <td align="right">是否建有省级以上研发机构：</td>
        <td>
            <c:set var="yn1_value"><x:out select="$xmlData/data/proposal/yn1_value"/></c:set>
            <cpt:checkbox key="yes_or_no" name="yn1" repeatColumn="2" tagType="radio" onClick="result1()"
                          value="${yn1_value}" style="border: 0px; padding: 0px; margin: 0px;"></cpt:checkbox>
            <input type="hidden" name="proposal/yn1_value" id="yn1" class="required"
                   value="<x:out select="$xmlData/data/proposal/yn1_value" />" label="是否建有省级以上研发机构"/>
            <input type="hidden" name="proposal/yn1_name"
                   value="<x:out select="$xmlData/data/proposal/yn1_name" />"/>
        </td>
        <td align="right">省级以上研发机构名称：</td>
        <td>
            <input type="text" name="proposal/province_rd" id="province_rd" style="display:none"
                   maxlength="100" value="<x:out select="$xmlData/data/proposal/province_rd"/>" label="省级以上研发机构名称">
        </td>
    </tr>
</table>
<div class="t_bar"><span class="color_red">*</span>${param.title2 }</div>
<table class="t_css table01" width="100%" border="0" cellpadding="0" id="orgPsnInfo" cellspacing="1">

    <col style="width:30%"/>
    <col style="width:20%"/>
    <col style="width:30%"/>
    <col style="width:20%"/>
    <tr>
        <td align="right" nowrap>法定代表人姓名：</td>
        <td>
			<span name="organization_persons/cname">
				<x:out select="$xmlData/data/organization_persons/person[@type='faren']/cname"/>
		    </span>
        </td>
        <td align="right" nowrap>法定代表人手机：</td>
        <td>
			<span name="organization_persons/mobile">
				<x:out select="$xmlData/data/organization_persons/person[@type='faren']/mobile"/>
		    </span>
        </td>
    </tr>
    <tr>
        <td align="right" nowrap>职工总数（人）：</td>
        <td align="center">
			<span name="organization_persons/people_count_total">
				<x:out select="$xmlData/data/organization_persons/people_count_total"/>
		    </span>
        </td>
        <td align="right">其中：固定人员：</td>
        <td>
            <input type="text"
                   name="proposal/permanent_staff"
                   id="permanent_staff" style="width: 82%;text-align: right;"
                   class="required"
                   label="其中：固定人员"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/permanent_staff"/>">
        </td>
    </tr>
    <tr>
        <td align="right" rowspan="2">研发转化人员数：</td>
        <td align="center" rowspan="2">
            <input type="text"
                   name="proposal/research_conversion"
                   id="research_conversion" style="width: 82%;text-align: right;"
                   class="required"
                   label="研发转化人员数"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/research_conversion"/>">
        </td>
        <td align="right">其中：正高级职称：</td>
        <td>
            <input type="text"
                   name="proposal/intermediate_up"
                   id="intermediate_up" style="width: 82%;text-align: right;"
                   class="required"
                   label="其中：正高级职称"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/intermediate_up"/>">
        </td>
    </tr>
    <tr>
        <td align="right">其中：博士学历：</td>
        <td>
            <input type="text"
                   name="proposal/graduate_up"
                   id="graduate_up" style="width: 82%;text-align: right;"
                   class="required"
                   label="其中：博士学历"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/graduate_up"/>">
        </td>
    </tr>
</table>
<div class="t_bar"><span class="color_red">*</span>${param.title3 }</div>
<table class="t_css table01" width="100%" border="0" cellpadding="0" id="orgFinanceInfo" cellspacing="1">
    <col style="width:5%"/>
    <col style="width:20%"/>
    <col style="width:15%"/>
    <col style="width:20%"/>
    <col style="width:15%"/>
    <col style="width:10%"/>
    <col style="width:15%"/>
    <tr>
        <td align="right" rowspan="3" nowrap>${param.statyear-2}年</td>
        <td align="right">年度总收入（万元）</td>
        <td>
            <input type="text"
                   name="proposal/year_income"
                   id="year_income" style="width: 82%;text-align: right;"
                   class="required"
                   label="${param.statyear-2}年年度总收入"
                   onfocus="InitInput.setNumber(this,9,4,2)" onchange="setPre1()"
                   value="<x:out select="$xmlData/data/proposal/year_income"/>"></td>
        <td align="right">其中，各级财政投入总额（万元）</td>
        <td>
            <input type="text"
                  name="proposal/financial_input_income"
                  id="financial_input_income" style="width: 82%;text-align: right;"
                  class="required"
                  label="${param.statyear-2}年其中，各级财政投入总额" onchange="setPre1()"
                  onfocus="InitInput.setNumber(this,9,4,2)"
                  value="<x:out select="$xmlData/data/proposal/financial_input_income "/>"></td>
        <td align="right">占比（%）</td>
        <td align="center">
            <input type="text"
                   class="gray input_css"
                   disabled="disabled"
                   name="proposal/financial_input_pre"
                   onfocus="InitInput.setNumber(this,9,4,2)"
                   id="financial_input_pre" style="width: 82%;text-align: right;"
                   value="<x:out select="$xmlData/data/proposal/financial_input_pre"/>"></td>
    </tr>
    <tr>
        <td align="right">经营性收入总额（万元）</td>
        <td>
            <input type="text"
                   name="proposal/operate_income"
                   id="operate_income" style="width: 82%;text-align: right;"
                   class="required"
                   label="${param.statyear-2}年经营性收入总额" onchange="setPre2()"
                   onfocus="InitInput.setNumber(this,9,4,2)"
                   value="<x:out select="$xmlData/data/proposal/operate_income"/>"></td>
        <td align="right">其中，“四技”收入（万元）</td>
        <td>
            <input type="text"
                   name="proposal/sj_income"
                   id="sj_income" style="width: 82%;text-align: right;"
                   class="required"
                   label="${param.statyear-2}年其中，“四技”收入" onchange="setPre2()"
                   onfocus="InitInput.setNumber(this,9,4,2)"
                   value="<x:out select="$xmlData/data/proposal/sj_income"/>"></td>
        <td align="right">占比（%）</td>
        <td align="center">
            <input type="text"
                   name="proposal/sj_pre"
                   id="sj_pre" style="width: 82%;text-align: right;"
                   class="gray input_css"
                   disabled="disabled"
                   onfocus="InitInput.setNumber(this,9,4,2)"
                   value="<x:out select="$xmlData/data/proposal/sj_pre"/>"></td>
    </tr>
    <tr>
        <td align="right">研发经费（万元）</td>
        <td>
            <input type="text"
                   name="proposal/yf_fund"
                   id="yf_fund" style="width: 82%;text-align: right;"
                   class="required"
                   label="${param.statyear-2}年研发经费" onchange="setPre1()"
                   onfocus="InitInput.setNumber(this,9,4,2)"
                   value="<x:out select="$xmlData/data/proposal/yf_fund"/>"></td>
        <td align="right" colspan="2">占总收入比例（%）</td>
        <td align="center" colspan="2">
            <input type="text" class="gray input_css"
                   disabled="disabled"
                   name="proposal/yf_fund_pre"
                   id="yf_fund_pre" style="width: 89%;text-align: right;"
                   onfocus="InitInput.setNumber(this,9,4,2)"
                   value="<x:out select="$xmlData/data/proposal/yf_fund_pre"/>"></td>
    </tr>
    <tr>

        <td align="right" rowspan="3" nowrap>${param.statyear-1}年</td>
        <td align="right">年度总收入（万元）</td>
        <td>
            <input type="text"
                   name="proposal/year_income1"
                   id="year_income1" style="width: 82%;text-align: right;"
                   class="required"
                   label="${param.statyear-1}年年度总收入"
                   onfocus="InitInput.setNumber(this,9,4,2)" onchange="setPre1(1)"
                   value="<x:out select="$xmlData/data/proposal/year_income1"/>"></td>
        <td align="right">其中，各级财政投入总额（万元）</td>
        <td>
            <input type="text"
                   name="proposal/financial_input_income1"
                   id="financial_input_income1" style="width: 82%;text-align: right;"
                   class="required"
                   label="${param.statyear-1}年其中，各级财政投入总额"
                   onfocus="InitInput.setNumber(this,9,4,2)" onchange="setPre1(1)"
                   value="<x:out select="$xmlData/data/proposal/financial_input_income1 "/>"></td>
        <td align="right">占比（%）</td>
        <td align="center">
            <input type="text"
                   name="proposal/financial_input_pre1"
                   id="financial_input_pre1" style="width: 82%;text-align: right;"
                   class="gray input_css"
                   disabled="disabled"
                   onfocus="InitInput.setNumber(this,9,4,2)"
                   value="<x:out select="$xmlData/data/proposal/financial_input_pre1"/>"></td>
    </tr>
    <tr>
        <td align="right">经营性收入总额（万元）</td>
        <td>
            <input type="text"
                   name="proposal/operate_income1"
                   id="operate_income1" style="width: 82%;text-align: right;"
                   class="required"
                   label="${param.statyear-1}年经营性收入总额" onchange="setPre2(1)"
                   onfocus="InitInput.setNumber(this,9,4,2)"
                   value="<x:out select="$xmlData/data/proposal/operate_income1"/>"></td>
        <td align="right">其中，“四技”收入（万元）</td>
        <td>
            <input type="text"
                   name="proposal/sj_income1"
                   id="sj_income1" style="width: 82%;text-align: right;"
                   class="required"
                   label="${param.statyear-1}年其中，“四技”收入" onchange="setPre2(1)"
                   onfocus="InitInput.setNumber(this,9,4,2)"
                   value="<x:out select="$xmlData/data/proposal/sj_income1"/>"></td>
        <td align="right">占比（%）</td>
        <td align="center">
            <input type="text"
                   name="proposal/sj_pre1"
                   id="sj_pre1" style="width: 82%;text-align: right;"
                   class="gray input_css"
                   disabled="disabled"
                   onfocus="InitInput.setNumber(this,9,4,2)"
                   value="<x:out select="$xmlData/data/proposal/sj_pre1"/>"></td>
    </tr>
    <tr>
        <td align="right">研发经费（万元）</td>
        <td>
            <input type="text"
                   name="proposal/yf_fund1"
                   id="yf_fund1" style="width: 82%;text-align: right;"
                   class="required"
                   label="${param.statyear-1}年研发经费"
                   onfocus="InitInput.setNumber(this,9,4,2)" onchange="setPre1(1)"
                   value="<x:out select="$xmlData/data/proposal/yf_fund1"/>"></td>
        <td align="right" colspan="2">占总收入比例（%）</td>
        <td align="center" colspan="2">
            <input type="text"
                   name="proposal/yf_fund_pre1"
                   id="yf_fund_pre1" style="width: 89%;text-align: right;"
                   class="gray input_css"
                   disabled="disabled"
                   onfocus="InitInput.setNumber(this,9,4,2)"
                   value="<x:out select="$xmlData/data/proposal/yf_fund_pre1"/>"></td>
    </tr>
    <tr>
        <td align="right" colspan="2">研发场地面积（平方米）：</td>
        <td>
            <input type="text"
                   name="proposal/rd_place"
                   id="rd_place" style="width: 82%;text-align: right;"
                   class="required"
                   label="研发场地面积"
                   onfocus="InitInput.setNumber(this,9,4,2)"
                   value="<x:out select="$xmlData/data/proposal/rd_place"/>">
        </td>
        <td align="right" colspan="2">科研仪器设备原值（万元）：</td>
        <td align="center" colspan="2">
            <input type="text" name="proposal/yanfa_instrument" label="科研仪器设备原值" class="required" onfocus="InitInput.setNumber(this,9,4,2)" style="width: 89%;text-align: right;" value="<x:out select="$xmlData/data/proposal/yanfa_instrument"/>"/>
        </td>
    </tr>
</table>
<div class="t_bar"><span class="color_red">*</span>${param.title6 }</div>
<table class="t_css table01" width="100%" border="0" cellpadding="0" id="orgKnowledgeInfo" cellspacing="1">
    <col style="width:30%"/>
    <col style="width:20%"/>
    <col style="width:16.6%"/>
    <col style="width:16.7%"/>
    <col style="width:16.7%"/>

    <tr align="center">
        <td rowspan="2" align="right">获奖（项）</td>
        <td>总计</td>
        <td>国家级</td>
        <td>省部级</td>
        <td>其它</td>
    </tr>
    <tr align="center">
        <td>
            <input type="text"
                   class="gray input_css"
                   disabled="disabled"
                   name="proposal/sum1"
                   id="sum1" style="width:82%;text-align: right;"
                   label="获奖-->总计"
                   value="<x:out select="$xmlData/data/proposal/sum1"/>">
        </td>
        <td>
            <input type="text"
                   name="proposal/award_state"
                   id="award_state" style="width: 82%;text-align: right;"
                   class="required"
                   label="获奖-->国家级"
                   onchange="sum1()"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/award_state"/>">
        </td>
        <td>
            <input type="text"
                   name="proposal/award_province"
                   id="award_province" style="width: 82%;text-align: right;"
                   class="required"
                   label="获奖-->省部级"
                   onchange="sum1()"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/award_province"/>">
        </td>
        <td>
            <input type="text"
                   name="proposal/award_rest"
                   id="award_rest" style="width: 82%;text-align: right;"
                   class="required"
                   label="获奖-->其他"
                   onchange="sum1()"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/award_rest"/>">
        </td>
    </tr>
    <tr align="center">
        <td rowspan="2" align="right">科研项目（项）</td>
        <td>总计</td>
        <td>国家级</td>
        <td>省部级</td>
        <td>产学研合作</td>
    </tr>
    <tr align="center">
        <td>
            <input type="text"
                   class="gray input_css"
                   disabled="disabled"
                   name="proposal/sum2"
                   id="sum2" style="width:82%;text-align: right;"
                   label="科研项目-->总计"
                   value="<x:out select="$xmlData/data/proposal/sum2"/>">
        </td>
        <td>
            <input type="text"
                   name="proposal/research_state"
                   id="research_state" style="width: 82%;text-align: right;"
                   class="required"
                   label="科研项目-->国家级"
                   onchange="sum2()"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/research_state"/>">
        </td>
        <td>
            <input type="text"
                   name="proposal/research_province"
                   id="research_province" style="width: 82%;text-align: right;"
                   class="required"
                   label="科研项目-->省部级"
                   onchange="sum2()"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/research_province"/>">
        </td>
        <td>
            <input type="text"
                   name="proposal/research_rest"
                   id="research_rest" style="width: 82%;text-align: right;"
                   class="required"
                   label="科研项目-->产学研合作"
                   onchange="sum2()"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/research_rest"/>">
        </td>
    </tr>
</table>

<table class="t_css table01" width="100%" border="0" cellpadding="0" id="orgKnowledgeInfo1" cellspacing="1">
    <col style="width:30%"/>
    <col style="width:20%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>
    <col style="width:2.5%"/>

    <tr align="center">
        <td rowspan="6" align="right">知识产权（项）</td>
        <td rowspan="2">专利授权总数</td>
        <td colspan="20">其中</td>
    </tr>
    <tr align="center">
        <td colspan="5">PCT专利</td>
        <td colspan="5">发明专利</td>
        <td colspan="5">实用新型专利</td>
        <td colspan="5">其它</td>
    </tr>
    <tr align="center">
        <td >
            <input type="text"
                   class="gray input_css"
                   disabled="disabled"
                   name="proposal/sum3"
                   id="sum3" style="width:80%;text-align: right;"
                   label="知识产权-->专利授权总数"
                   value="<x:out select="$xmlData/data/proposal/sum3"/>">
        </td>
        <td colspan="5">
            <input type="text"
                   name="proposal/intellectual_pct"
                   id="intellectual_pct" style="width: 82%;text-align: right;"
                   class="required"
                   label="知识产权-->PCT专利"
                   onchange="sum3()"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/intellectual_pct"/>">
        </td>
        <td colspan="5">
            <input type="text"
                   name="proposal/intellectual_invent"
                   id="intellectual_invent" style="width: 82%;text-align: right;"
                   class="required"
                   label="知识产权-->发明专利"
                   onchange="sum3()"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/intellectual_invent"/>">
        </td>
        <td colspan="5">
            <input type="text"
                   name="proposal/intellectual_practical"
                   id="intellectual_practical" style="width: 82%;text-align: right;"
                   class="required"
                   label="知识产权-->实用新型专利"
                   onchange="sum3()"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/intellectual_practical"/>">
        </td>
        <td colspan="5">
            <input type="text"
                   name="proposal/intellectual_rest"
                   id="intellectual_rest" style="width: 82%;text-align: right;"
                   class="required"
                   label="知识产权-->其他"
                   onchange="sum3()"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/intellectual_rest"/>">
        </td>
    </tr>
    <tr align="center">
        <td rowspan="2">制定标准总数</td>
        <td colspan="20">其中</td>
    </tr>
    <tr align="center">
        <td colspan="4">国际标准</td>
        <td colspan="4">国家标准</td>
        <td colspan="4">行业标准</td>
        <td colspan="4">地方标准</td>
        <td colspan="4">企业标准</td>
    </tr>
    <tr align="center">
        <td>
            <input type="text"
                   class="gray input_css"
                   disabled="disabled"
                   name="proposal/sum4"
                   id="sum4" style="width:80%;text-align: right;"
                   label="知识产权-->制定标准总数"
                   value="<x:out select="$xmlData/data/proposal/sum4"/>">
        </td>
        <td colspan="4">
            <input type="text"
                   name="proposal/international"
                   id="intellectual_international" style="width: 82%;text-align: right;"
                   class="required"
                   label="知识产权-->国际标准"
                   onchange="sum4()"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/international"/>">
        </td>
        <td colspan="4">
            <input type="text"
                   name="proposal/intellectual_state"
                   id="intellectual_state" style="width: 82%;text-align: right;"
                   class="required"
                   label="知识产权-->国家标准"
                   onchange="sum4()"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/intellectual_state"/>">
        </td>
        <td colspan="4">
            <input type="text"
                   name="proposal/intellectual_industry"
                   id="intellectual_industry" style="width: 82%;text-align: right;"
                   class="required"
                   label="知识产权-->行业标准"
                   onchange="sum4()"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/intellectual_industry"/>">
        </td>
        <td colspan="4">
            <input type="text"
                   name="proposal/intellectual_place"
                   id="intellectual_place" style="width: 82%;text-align: right;"
                   class="required"
                   label="知识产权-->地方标准"
                   onchange="sum4()"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/intellectual_place"/>">
        </td>
        <td colspan="4">
            <input type="text"
                   name="proposal/intellectual_enterprise"
                   id="intellectual_enterprise" style="width: 82%;text-align: right;"
                   class="required"
                   label="知识产权-->企业标准"
                   onchange="sum4()"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/intellectual_enterprise"/>">
        </td>
    </tr>
    <tr>
        <td align="right">年均转化科技成果（项）</td>
        <td align="center">
            <input type="text"
                   name="proposal/transform_achievement"
                   class="required"
                   id="transform_achievement" style="width:80%;text-align: right;"
                   label="年均转化科技成果"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/transform_achievement"/>">
        </td>
        <td colspan="12" align="right">年均引进转化产业化项目（项）</td>
        <td colspan="8">
            <input type="text"
                   name="proposal/transform_project"
                   id="transform_project" style="width:82%;text-align: right;"
                   class="required"
                   label="年均引进转化产业化项目"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/transform_project"/>">
        </td>
    </tr>
    <tr>
        <td align="right">年均孵化企业数（家）</td>
        <td align="center">
            <input type="text"
                   name="proposal/incubate_enterprise"
                   class="required"
                   id="incubate_enterprise" style="width:80%;text-align: right;"
                   label="年均孵化企业数"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/incubate_enterprise"/>">
        </td>
        <td colspan="12" align="right">年均提供技术服务（家/次）</td>
        <td colspan="8" >
            <input type="text"
                   name="proposal/provide_service"
                   id="provide_service" style="width:82%;text-align: right;"
                   class="required"
                   label="年均提供技术服务"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   value="<x:out select="$xmlData/data/proposal/provide_service"/>">
        </td>
    </tr>
</table>
<script type="text/javascript">
    $(function() {
        var income_main  = $("#income_main").text();
        if(!!income_main){
            income_main = income_main.replace(/,/g,"");
        }
        var yanfa_income = $("#yanfa_income").text();
        if(!!yanfa_income){
            yanfa_income = yanfa_income.replace(/,/g,"");
        }
        $("#rd_proportion").val(formatVal((yanfa_income/income_main)*100)+"%");
        var result1 = $("#yn1").val();
        if (result1 == 1){
            $("#province_rd").removeAttr("style","display:none");
            $("#province_rd").attr("style","width:82%");
            $("#province_rd").addClass("required");
        }else {
            $("#province_rd").val('');
            $("#province_rd").removeAttr("style","width:82%");
            $("#province_rd").attr("style","display:none");
            $("#province_rd").removeClass("required");
        }

        var result2 = $("#yn2").val();
        if (result2 == 1){
            $("#province_engineering").removeAttr("style","display:none");
            $("#province_engineering").attr("style","width:82%");
            $("#province_engineering").addClass("required");
        }else {
            $("#province_engineering").val('');
            $("#province_engineering").removeAttr("style","width:82%");
            $("#province_engineering").attr("style","display:none");
            $("#province_engineering").removeClass("required");
        }
        industry_sector();
    });
    function setPre1(type){
        if(type!=1){
            type="";
        }
        var financial_input_income=$("#"+"financial_input_income"+type).val();
        var year_income = $("#"+"year_income"+type).val();
        var yf_fund=$("#"+"yf_fund"+type).val();
        if(year_income==''){
            $("#"+"yf_fund_pre"+type).val("0.00");
            $("#"+"financial_input_pre"+type).val("0.00");
        }else{
            $("#"+"financial_input_pre"+type).val(formatVal(financial_input_income*100/year_income));
            $("#"+"yf_fund_pre"+type).val(formatVal(yf_fund*100/year_income));
        }


    }
    function setPre2(type){
        if(type!=1){
            type="";
        }
        var operate_income=$("#"+"operate_income"+type).val();
        var sj_income = $("#"+"sj_income"+type).val();
        if(operate_income==''){
            $("#"+"sj_pre"+type).val("0.00");

        }else{
           $("#"+"sj_pre"+type).val(formatVal(sj_income*100/operate_income));
        }


    }




    function result1() {
        var result1 = $("#yn1").val();
        if (result1 == 1){
            $("#province_rd").removeAttr("style","display:none");
            $("#province_rd").attr("style","width:82%");
            $("#province_rd").addClass("required");
        }else {
            $("#province_rd").val('');
            $("#province_rd").removeAttr("style","width:82%");
            $("#province_rd").attr("style","display:none");
            $("#province_rd").removeClass("required");
        }
    }

    function result2() {
        var result2 = $("#yn2").val();
        if (result2 == 1){
            $("#province_engineering").removeAttr("style","display:none");
            $("#province_engineering").attr("style","width:82%");
            $("#province_engineering").addClass("required");
        }else {
            $("#province_engineering").val('');
            $("#province_engineering").removeAttr("style","width:82%");
            $("#province_engineering").attr("style","display:none");
            $("#province_engineering").removeClass("required");
        }
    }

    function industry_sector() {
        var industry_sector_value = $("#industry_sector_value").val();
        if (industry_sector_value == '14') {
            // $("#industry_sector_other_div").attr("style","display:block");
            $("#industry_sector_other").addClass("required");
        } else{
            // $("#industry_sector_other_div").attr("style","display:none");
            // $("input[name='proposal/industry_sector_other']").val('');
            $("#industry_sector_other").removeClass("required");
        }
    }
    function sum1() {
        var award_state  = $("#award_state").val();
        var award_province = $("#award_province").val();
        var award_rest =$("#award_rest").val();
        if (award_state=='' || award_state ==null){award_state=0}
        if (award_province=='' || award_province ==null){award_province=0}
        if (award_rest=='' || award_rest ==null){award_rest=0}
        $("#sum1").val(parseInt(award_state) +parseInt(award_province)+parseInt(award_rest));
    }

    function sum2() {
        var research_state  = $("#research_state").val();
        var research_province = $("#research_province").val();
        var research_rest =$("#research_rest").val();
        if (research_state==''    || research_state ==null)   {research_state=0}
        if (research_province=='' || research_province ==null){research_province=0}
        if (research_rest==''     || research_rest ==null)    {research_rest=0}
        $("#sum2").val(parseInt(research_state) +parseInt(research_province)+parseInt(research_rest));
    }

    function sum3() {
        var intellectual_pct  = $("#intellectual_pct").val();
        var intellectual_invent = $("#intellectual_invent").val();
        var intellectual_practical =$("#intellectual_practical").val();
        var intellectual_rest =$("#intellectual_rest").val();
        if (intellectual_pct==''    || intellectual_pct ==null)   {intellectual_pct=0}
        if (intellectual_invent=='' || intellectual_invent ==null){intellectual_invent=0}
        if (intellectual_practical==''     || intellectual_practical ==null)    {intellectual_practical=0}
        if (intellectual_rest==''     || intellectual_rest ==null)    {intellectual_rest=0}
        $("#sum3").val(parseInt(intellectual_pct) +parseInt(intellectual_invent)+parseInt(intellectual_practical)+parseInt(intellectual_rest));
    }

    function sum4() {
        var intellectual_international  = $("#intellectual_international").val();
        var intellectual_state = $("#intellectual_state").val();
        var intellectual_industry =$("#intellectual_industry").val();
        var intellectual_place =$("#intellectual_place").val();
        var intellectual_enterprise =$("#intellectual_enterprise").val();
        if (intellectual_international==''    || intellectual_international ==null)   {intellectual_international=0}
        if (intellectual_state=='' || intellectual_state ==null){intellectual_state=0}
        if (intellectual_industry==''     || intellectual_industry ==null)    {intellectual_industry=0}
        if (intellectual_place==''     || intellectual_place ==null)    {intellectual_place=0}
        if (intellectual_enterprise==''     || intellectual_enterprise ==null)    {intellectual_enterprise=0}
        $("#sum4").val(parseInt(intellectual_international) +parseInt(intellectual_state)+parseInt(intellectual_industry)+parseInt(intellectual_place)+parseInt(intellectual_enterprise));
    }

    $("table").addClass("table01");
    $("#checkbox_table_").removeClass("table01");
    $("#feaReport_upload").removeClass("table01");
    $('div').find("[id^='checkbox_dyn_']").find("td").css("border",'0px solid')

</script>
